]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Overview: clip contents to the allocation
authorGiovanni Campagna <gcampagna@src.gnome.org>
Sun, 17 Feb 2013 21:34:36 +0000 (22:34 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Sun, 17 Feb 2013 21:38:40 +0000 (22:38 +0100)
If they're not clipped, overview controls can leak to secondary monitors
while animating.

js/ui/overview.js

index d5787344332c6c06f5d54473f597e5c58a866eda..6c5d59368aa3c03e2ae2eb1a0b3741097c95cd07 100644 (file)
@@ -142,7 +142,8 @@ const Overview = new Lang.Class({
                                             vertical: true });
         this._overview._delegate = this;
 
-        this._group = new St.BoxLayout({ name: 'overview-group' });
+        this._group = new St.BoxLayout({ name: 'overview-group',
+                                         clip_to_allocation: true });
 
         this._capturedEventId = 0;
         this._buttonPressId = 0;